/*日期类型*/

//1- 不传参数
let d:Date = new Date();
console.log(d);

//2- 传递整数
let e:Date  = new Date(1000);
console.log(e);


//3- 传递字符串
let g:Date  = new Date('2018/12/12 09:12:12');
let g1:Date  = new Date('2018-12-12 09:12:12');
let g2:Date  = new Date('2018-12-12T09:12:12');
console.log(g,'--' ,g1,'--', g2);

